import 'package:flutter/material.dart';
import 'package:surfaceim/common/widgets/widgets.dart';
import 'package:surfaceim/pages/frame/sign_up/controller.dart';
import 'package:surfaceim/pages/frame/sign_up/widgets/get_code.dart';
import 'package:get/get.dart';
import './widgets/get_code.dart';
import 'widgets/verification_code.dart';

class SignUpPage extends GetView<SignUpController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        resizeToAvoidBottomInset: false,
        appBar: appBar(),
        body: PageView(
          physics: NeverScrollableScrollPhysics(),
          children: <Widget>[
            GetCode(),
            VerificationCode(),
          ],
          controller: controller.pageController,
          onPageChanged: controller.handlePageChanged,
        ));
  }
}
